package cairmgon.contral
{
	import cairmgon.commands.GetUserNameByIDCommand;
	import cairmgon.commands.SayHelloCommand;
	import cairmgon.events.GetUserNameByIDEvent;
	import cairmgon.events.SayHelloWorldEvent;
	
	import com.adobe.cairngorm.control.FrontController;
	
	public class MainControler extends FrontController
	{
		public function MainControler()
		{
			super();
			this.addCommand(SayHelloWorldEvent.SAYHELLOWORLD_EVENT,SayHelloCommand);
			this.addCommand(GetUserNameByIDEvent.GETUSERNAMEBYID_EVENT,GetUserNameByIDCommand);
		}
	}
}